package com.azt.api.pojo;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 消息
 * @author 张栋  2016年6月1日下午4:20:04
 */
@Table(name = "alert_msg")
public class AlertMsg implements Serializable {
	
	/*消息插入时间*/
	@Column(name = "intime")
	private java.util.Date intime;
	/*发送者id,对应user.userid*/
	@Column(name = "sender")
	private java.lang.Integer sender;
	/*信息发送类型：1-站内信,2-短信,3-邮件*/
	@Column(name = "senderType")
	private java.lang.String senderType;
	/*手机号*/
	@Column(name = "mobile")
	private java.lang.String mobile;
	/*邮箱*/
	@Column(name = "email")
	private java.lang.String email;
	/*分类标题:0:供应商项目需求,1:供应商订单管理,2:采购商项目需求,3:采购商订单管理,4:系统消息*/
	@Column(name = "busiType")
	private java.lang.String busiType;
	/*业务编码*/
	@Column(name = "busiCode")
	private java.lang.String busiCode;
	/*业务名称*/
	@Column(name = "busiName")
	private java.lang.String busiName;
	/*消息标题*/
	@Column(name = "title")
	private java.lang.String title;
	/*消息内容*/
	@Column(name = "content")
	private java.lang.String content;
	/*接收者id,对应user.userid*/
	@Column(name = "receiver")
	private java.lang.Integer receiver;
	/*是否已处理(0:未处理,1:已处理)*/
	@Column(name = "done")
	private java.lang.String done;
	/*处理时间*/
	@Column(name = "doneTime")
	private java.util.Date doneTime;
	/*接收消息者的身份1:采购商 2:供应商*/
	@Column(name = "prvdCstm")
	private java.lang.Integer prvdCstm;
	@Id
	@Column(name = "id")
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;
	
	public Integer getId() {
		
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	
	
	
	public java.util.Date getIntime() {
		return this.intime;
	}
	
	public void setIntime(java.util.Date value) {
		this.intime = value;
	}
	public java.lang.Integer getSender() {
		return this.sender;
	}
	
	public void setSender(java.lang.Integer value) {
		this.sender = value;
	}
	public java.lang.String getSenderType() {
		return this.senderType;
	}
	
	public void setSenderType(java.lang.String value) {
		this.senderType = value;
	}
	public java.lang.String getMobile() {
		return this.mobile;
	}
	
	public void setMobile(java.lang.String value) {
		this.mobile = value;
	}
	public java.lang.String getEmail() {
		return this.email;
	}
	
	public void setEmail(java.lang.String value) {
		this.email = value;
	}
	
	public java.lang.String getBusiType() {
		return this.busiType;
	}
	
	public void setBusiType(java.lang.String value) {
		this.busiType = value;
	}
	public java.lang.String getBusiCode() {
		return this.busiCode;
	}
	
	public void setBusiCode(java.lang.String value) {
		this.busiCode = value;
	}
	public java.lang.String getBusiName() {
		return this.busiName;
	}
	
	public void setBusiName(java.lang.String value) {
		this.busiName = value;
	}
	public java.lang.String getTitle() {
		return this.title;
	}
	
	public void setTitle(java.lang.String value) {
		this.title = value;
	}
	public java.lang.String getContent() {
		return this.content;
	}
	
	public void setContent(java.lang.String value) {
		this.content = value;
	}
	public java.lang.Integer getReceiver() {
		return this.receiver;
	}
	
	public void setReceiver(java.lang.Integer value) {
		this.receiver = value;
	}
	public java.lang.String getDone() {
		return this.done;
	}
	
	public void setDone(java.lang.String value) {
		this.done = value;
	}
	public java.util.Date getDoneTime() {
		return this.doneTime;
	}
	
	public void setDoneTime(java.util.Date value) {
		this.doneTime = value;
	}
	public java.lang.Integer getPrvdCstm() {
		return this.prvdCstm;
	}
	
	public void setPrvdCstm(java.lang.Integer value) {
		this.prvdCstm = value;
	}
	
	
	
}

